<!DOCTYPE html>
<html>
<head>
    <title>查询结果</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="Tillage Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
    <!-- bootstarp-css -->
    <link href="/assets/css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
    <!--// bootstarp-css -->
    <!-- css -->
    <link rel="stylesheet" href="/assets/css/style.css" type="text/css" media="all" />
	<!--[if lt IE 9]>
     <script src="/assets/js/html5shiv.min.js"></script>
    <script src="/assets/js/respond.min.js"></script>
  <![endif]--><!--[if IE 9]>
    <script src="/assets/js/base64.min.js"></script>
    <script src="/assets/js/typedarray.min.js"></script>  <![endif]-->
    <!--// css -->
    <script src="/assets/js/jquery-1.11.1.min.js"></script>
    <!--fonts-->
    <link href='http://fonts.useso.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,800,700,600' rel='stylesheet' type='text/css'>
    <!--/fonts-->
    <link href="/assets/css/animate.css" rel="stylesheet" type="text/css" media="all">
    <script src="/assets/js/wow.min.js"></script>
    <script>
        new WOW().init();
    </script>
    <style>
        .panel {
            border: none;
            margin-bottom: 0;
        }

        .panel-body {
            padding: 15px;
        }

        .panel-default > .panel-heading {
            border: none;
            border-bottom: 2px solid #8E8E8E;
            color: #363636;
            font-weight: bold;
            background-color: white;
            text-decoration: none;
            font-size: 30px;
        }

        /*  .panel-heading {
            border-bottom: 2px solid #911314;
        }*/

        .list-group-item {
            border: none;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 0;
            border-bottom: 1px solid #DDD;
        }

            .list-group-item > a {
                font-size: 16px;
                display: block;
                padding-right: 7em;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

                .list-group-item > a:hover {
                    text-decoration: none;
                    color: #0099CC;
                }

                .list-group-item > a > i > img {
                    width: 8px;
                    margin-right: 8px;
                    margin-bottom: 3px;
                    /*background-image: url("images/icon_title.png");*/
                }

            .list-group-item > span {
                font-size: 16px;
                position: absolute;
                right: 5px;
                top: 0px;
                margin-top: 10px;
            }

        .see-button {
            margin-top: 0;
        }

        .carousel-inner > .item > a > img {
            height: 307px;
        }

       .pagination > li > a{
            margin:0 10px 10px 0;
        }
        .pagination > li > a:hover{
            color:#0099CC;
            border-color: #0099CC;
        }
        .pagination > .active > a{
         background-color: #0099CC;
    border-color: #0099CC;
}
    </style>

</head>
<body>
   <div class="banner a-banner"><div class="container"><div class="header">
                <div class="head-logo">
                    <a href="/"><img src="/assets/images/logo5.png" alt="" /></a>
                </div>
                <div id="navigation" class="navigation top-nav">
                    <span class="menu"><img src="/assets/images/menu.png" alt=""></span>
                    <ul class="nav1">
                        <li class="active"><a href="/">首页</a></li>
                        {{range $k,$v:= .Navigation}}
                        <li>
                            <a href="/blist/{{$v.Bc.Id}}">{{$v.Bc.Name}}</a>
                            <ul>
								{{range $kb,$vb:=$v.Scs}}
                                <li><a href="/slist/{{$vb.Id}}/{{$v.Bc.Id}}">{{$vb.Name}}</a></li>
                                {{end}}
                            </ul>
                        </li>
                        {{end}}
                    </ul>
                </div>
                <div class="clearfix"> </div>
            </div>
        </div>
    </div>

    <div class="container">
        <div class="banner-bottom-grids">
            <div class="col-md-12 banner-bottom-right wow fadeInRight animated" data-wow-delay="0.5s" style="visibility: visible; -webkit-animation-delay: 0.5s;">
                <div class="panel panel-default">
                    <!-- Default panel contents -->
                    <div class="panel-heading">
                        {{.ClassName}}
                    </div>
                    <div class="panel-body">
						<div id="tsxbody"></div>
                    </div>
                </div>
               <ul class="am-pagination am-pagination-centered">
      			 <div id="pageNav1" style="text-align:center"></div>
    			</ul>
            </div>
        </div><input type="hidden" id="search" value="{{.Like}}">
    </div>
     {{template "footer.html" .}}
  <script src="/assets/js/jquery.min.js"></script>
  <script src="/assets/js/amazeui.min.js"></script>
 <script src="/assets/js/bootstrap.min.js"></script>
  <script src="/assets/layer/layer.js"></script>
  <script src="/assets/js/app.js"></script>
<script src="/assets/laypage/laypage.js"></script>
<script type="text/javascript">
   $(function(){
            _init(1,10);
        })
   function _init(pi,ps){
            $.AMUI.progress.start();
            $.post("/search/data",{s:pi,c:ps,sl:$("#search").val()},function(data){
                if(data.status===1&&data.count>0){

                    var list='';
                    var index=0;
                    list+='<ul class="list-group ">';
                   $.each(data.data,function(k,v){
					list+='<li class="list-group-item list-inline">';
					list+='<a href=\'/detail/'+v.Id+'\'><i><img src="/assets/images/icon_title.png"></i><span>'+v.Title+'</span></a>';
					list+='<span>'+v.Updatetime+'</span></li>';
                    });
                   list+='</ul>';
                    $("#tsxbody").html(list);
                     laypage({
                        cont: $('#pageNav1'),
                        pages: Math.ceil(data.count / ps),
                        curr: pi || 1,
                        skip: false,
                        jump: function (obj, first) {
                            // $('#msg').html('注：第'+obj.curr+'/'+obj.pages+'页&nbsp;&nbsp;&nbsp;(共'+data.count +'条)');
                            if (!first) {
                                _init(obj.curr, ps);
                            }
                        }
                    });
                }else{
                $("#tsxbody").html('');
                $('#pageNav1').html('未查询到相关信息');
                }
            $.AMUI.progress.done();
            },"json")
        }
		function search(){
            _init(1,10);
        }
		$("span.menu").click(function () {
            $("ul.nav1").slideToggle(300, function () {
                // Animation complete.
            });
        });
</script>
</body>
</html>
